package com.tssm.pojo;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * SarcQuotation entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "SARC_QUOTATION", schema = "dbo", catalog = "ts")
public class SarcQuotation implements java.io.Serializable {

	// Fields

	private Long quotationid;
	private Long supplierid;
	private String code;
	private String payType;
	private Double imprest;
	private Long settlement;
	private String currency;
	private String transportType;
	private Long supplyCycle;
	private String cargoStandard;
	private Double taxRate;
	private Date quotationTime;
	private Date endTime;
	private Byte ifPushPurchasing;
	private Byte auditState;
	private Date auditTime;
	private Long auditPerson;
	private Date addTime;
	private Date modifyTime;
	private Date finishTime;
	private String def1;
	private String def2;
	private String def3;
	private String def4;
	private String def5;
	private String def6;
	private String def7;
	private String def8;
	private String def9;
	private Date ts;
	private Long dr;
	private Long deptid;
	private Long operatorid;
	private String status;

	// Constructors

	/** default constructor */
	public SarcQuotation() {
	}

	/** minimal constructor */
	public SarcQuotation(Long quotationid) {
		this.quotationid = quotationid;
	}

	/** full constructor */
	public SarcQuotation(Long quotationid, Long supplierid, String code,
			String payType, Double imprest, Long settlement, String currency,
			String transportType, Long supplyCycle, String cargoStandard,
			Double taxRate, Date quotationTime, Date endTime,
			Byte ifPushPurchasing, Byte auditState, Date auditTime,
			Long auditPerson, Date addTime, Date modifyTime,
			Date finishTime, String def1, String def2, String def3,
			String def4, String def5, String def6, String def7, String def8,
			String def9, Date ts, Long dr, Long deptid, Long operatorid,
			String status) {
		this.quotationid = quotationid;
		this.supplierid = supplierid;
		this.code = code;
		this.payType = payType;
		this.imprest = imprest;
		this.settlement = settlement;
		this.currency = currency;
		this.transportType = transportType;
		this.supplyCycle = supplyCycle;
		this.cargoStandard = cargoStandard;
		this.taxRate = taxRate;
		this.quotationTime = quotationTime;
		this.endTime = endTime;
		this.ifPushPurchasing = ifPushPurchasing;
		this.auditState = auditState;
		this.auditTime = auditTime;
		this.auditPerson = auditPerson;
		this.addTime = addTime;
		this.modifyTime = modifyTime;
		this.finishTime = finishTime;
		this.def1 = def1;
		this.def2 = def2;
		this.def3 = def3;
		this.def4 = def4;
		this.def5 = def5;
		this.def6 = def6;
		this.def7 = def7;
		this.def8 = def8;
		this.def9 = def9;
		this.ts = ts;
		this.dr = dr;
		this.deptid = deptid;
		this.operatorid = operatorid;
		this.status = status;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "QUOTATIONID", unique = true, nullable = false, precision = 18, scale = 0)
	public Long getQuotationid() {
		return this.quotationid;
	}

	public void setQuotationid(Long quotationid) {
		this.quotationid = quotationid;
	}

	@Column(name = "SUPPLIERID", precision = 18, scale = 0)
	public Long getSupplierid() {
		return this.supplierid;
	}

	public void setSupplierid(Long supplierid) {
		this.supplierid = supplierid;
	}

	@Column(name = "CODE")
	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	@Column(name = "PAY_TYPE")
	public String getPayType() {
		return this.payType;
	}

	public void setPayType(String payType) {
		this.payType = payType;
	}

	@Column(name = "IMPREST", precision = 18)
	public Double getImprest() {
		return this.imprest;
	}

	public void setImprest(Double imprest) {
		this.imprest = imprest;
	}

	@Column(name = "SETTLEMENT", precision = 18, scale = 0)
	public Long getSettlement() {
		return this.settlement;
	}

	public void setSettlement(Long settlement) {
		this.settlement = settlement;
	}

	@Column(name = "CURRENCY")
	public String getCurrency() {
		return this.currency;
	}

	public void setCurrency(String currency) {
		this.currency = currency;
	}

	@Column(name = "TRANSPORT_TYPE")
	public String getTransportType() {
		return this.transportType;
	}

	public void setTransportType(String transportType) {
		this.transportType = transportType;
	}

	@Column(name = "SUPPLY_CYCLE", precision = 18, scale = 0)
	public Long getSupplyCycle() {
		return this.supplyCycle;
	}

	public void setSupplyCycle(Long supplyCycle) {
		this.supplyCycle = supplyCycle;
	}

	@Column(name = "CARGO_STANDARD")
	public String getCargoStandard() {
		return this.cargoStandard;
	}

	public void setCargoStandard(String cargoStandard) {
		this.cargoStandard = cargoStandard;
	}

	@Column(name = "TAX_RATE", precision = 18)
	public Double getTaxRate() {
		return this.taxRate;
	}

	public void setTaxRate(Double taxRate) {
		this.taxRate = taxRate;
	}

	@Column(name = "QUOTATION_TIME", length = 23)
	public Date getQuotationTime() {
		return this.quotationTime;
	}

	public void setQuotationTime(Date quotationTime) {
		this.quotationTime = quotationTime;
	}

	@Column(name = "END_TIME", length = 23)
	public Date getEndTime() {
		return this.endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	@Column(name = "IF_PUSH_PURCHASING", precision = 2, scale = 0)
	public Byte getIfPushPurchasing() {
		return this.ifPushPurchasing;
	}

	public void setIfPushPurchasing(Byte ifPushPurchasing) {
		this.ifPushPurchasing = ifPushPurchasing;
	}

	@Column(name = "AUDIT_STATE", precision = 2, scale = 0)
	public Byte getAuditState() {
		return this.auditState;
	}

	public void setAuditState(Byte auditState) {
		this.auditState = auditState;
	}

	@Column(name = "AUDIT_TIME", length = 23)
	public Date getAuditTime() {
		return this.auditTime;
	}

	public void setAuditTime(Date auditTime) {
		this.auditTime = auditTime;
	}

	@Column(name = "AUDIT_PERSON", precision = 18, scale = 0)
	public Long getAuditPerson() {
		return this.auditPerson;
	}

	public void setAuditPerson(Long auditPerson) {
		this.auditPerson = auditPerson;
	}

	@Column(name = "ADD_TIME", length = 23)
	public Date getAddTime() {
		return this.addTime;
	}

	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}

	@Column(name = "MODIFY_TIME", length = 23)
	public Date getModifyTime() {
		return this.modifyTime;
	}

	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}

	@Column(name = "FINISH_TIME", length = 23)
	public Date getFinishTime() {
		return this.finishTime;
	}

	public void setFinishTime(Date finishTime) {
		this.finishTime = finishTime;
	}

	@Column(name = "DEF1")
	public String getDef1() {
		return this.def1;
	}

	public void setDef1(String def1) {
		this.def1 = def1;
	}

	@Column(name = "DEF2")
	public String getDef2() {
		return this.def2;
	}

	public void setDef2(String def2) {
		this.def2 = def2;
	}

	@Column(name = "DEF3")
	public String getDef3() {
		return this.def3;
	}

	public void setDef3(String def3) {
		this.def3 = def3;
	}

	@Column(name = "DEF4")
	public String getDef4() {
		return this.def4;
	}

	public void setDef4(String def4) {
		this.def4 = def4;
	}

	@Column(name = "DEF5")
	public String getDef5() {
		return this.def5;
	}

	public void setDef5(String def5) {
		this.def5 = def5;
	}

	@Column(name = "DEF6")
	public String getDef6() {
		return this.def6;
	}

	public void setDef6(String def6) {
		this.def6 = def6;
	}

	@Column(name = "DEF7")
	public String getDef7() {
		return this.def7;
	}

	public void setDef7(String def7) {
		this.def7 = def7;
	}

	@Column(name = "DEF8")
	public String getDef8() {
		return this.def8;
	}

	public void setDef8(String def8) {
		this.def8 = def8;
	}

	@Column(name = "DEF9")
	public String getDef9() {
		return this.def9;
	}

	public void setDef9(String def9) {
		this.def9 = def9;
	}

	@Column(name = "TS", length = 23)
	public Date getTs() {
		return this.ts;
	}

	public void setTs(Date ts) {
		this.ts = ts;
	}

	@Column(name = "DR", precision = 18, scale = 0)
	public Long getDr() {
		return this.dr;
	}

	public void setDr(Long dr) {
		this.dr = dr;
	}

	@Column(name = "DEPTID", precision = 18, scale = 0)
	public Long getDeptid() {
		return this.deptid;
	}

	public void setDeptid(Long deptid) {
		this.deptid = deptid;
	}

	@Column(name = "OPERATORID", precision = 18, scale = 0)
	public Long getOperatorid() {
		return this.operatorid;
	}

	public void setOperatorid(Long operatorid) {
		this.operatorid = operatorid;
	}

	@Column(name = "STATUS")
	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

}